(ns cachetest
  (:use clojure.test
	clj.jtacck.cache))

(deftest compactor-test
  (set-compactor-interval 1000)
  (Thread/sleep 1000)
  (start-cache-compactor) ; TODO Fix
  (Thread/sleep 2500)
  (stop-cache-compactor))

(deftest clear-cache-test
  (clear-cache))